home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
guardian_angel.swf
/
scripts
/
DefineSprite_168
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
778b
|
29 lines
if(_Y - "42" < eval("../:laufy") and eval("../:laufy") < _Y + "96")
{
if(eval("../:laufx") < _X + "60" and _X < eval("../:laufx"))
{
set("../:xcontact","1");
set("../:aufprall","2");
}
if(_X >= eval("../:laufx") and _X - "60" < eval("../:laufx"))
{
set("../:xcontact","2");
set("../:aufprall","2");
}
}
if(_X - "50" < eval("../:laufx") and eval("../:laufx") < _X + "50")
{
if(_Y - "56" < eval("../:laufy") and _Y + "15" >= eval("../:laufy"))
{
set("../:stepy",- "2");
set("../:fallen","0");
set("../:aufprall","1");
gotoAndPlay(3);
}
if(_Y + "15" < eval("../:laufy") and eval("../:laufy") < _Y + "110")
{
set("../:fallen","1");
set("../:stepy","2");
}
}